//
//  JYLayoutConfig.m
//  TestNIMSDK
//
//  Created by jianyong.wang on 2017/6/2.
//  Copyright © 2017年 jianyong.wang. All rights reserved.
//

#import "JYLayoutConfig.h"

@implementation JYLayoutConfig
+(CGSize)m80AttributeLabelWithText:(NSString *)text cgsize:(CGSize)size
{
    M80AttributedLabel *label = [[M80AttributedLabel alloc]initWithFrame:CGRectZero];
    [label jy_setText:text];
    return [label sizeThatFits:size];
}
@end
